package model

// WechatMiniApp 微信小程序信息
type WechatMiniApp struct {
	BaseModel
	AppID         string `gorm:"comment:应用ID;uniqueIndex:wechat_app_id"`
	Name          string `gorm:"comment:应用名称"`
	Avatar        string `gorm:"comment:头像"`
	QrCodeURL     string `gorm:"comment:二维码"`
	PrincipalName string `gorm:"comment:主体名称"`
	Signature     string `gorm:"comment:应用签名"`
}

// WechatUserString 用户微信ID字符串关联
type WechatUserString struct {
	BaseModel
	UserStr  string `gorm:"comment:用户字符;index:user_str"`
	WechatID string
}
